<?php

require_once($_SERVER['DOCUMENT_ROOT']."/jeng/jeng.php");

ptaste();

class AuthPage extends JEngPage
{
  function __construct()
  {
    parent::__construct();
  }
  
  function prepare()
  {
    $this->left_doc=false;
  }
  
  function getBodyXml()
  {
	$this->utils()->gwtHelper()->addgwt("login_form");
	return JEngXSLTXslFile::s_render($this->emptyXML(),$this->conf()->get("site_path")."/inc/xslt/auth.xsl");
  }
}

class Auth extends JEngStdAuth
{
	function __construct($site,$logger=null)
	{
		parent::__construct($site,$logger);
	}

	function doAuth()
	{
	  $doc=new AuthPage();
	  return $doc->render();
	}
}

?>